#ifndef PAPLAN_H
#define PAPLAN_H

#include <QObject>
#include <QMainWindow>
#include "opencv2/opencv.hpp"
#include <QVector>
#include <QDebug>
#include <vector>
#include <astar.h>

QT_BEGIN_NAMESPACE
using namespace std;
using namespace  cv;
QT_END_NAMESPACE

class Paplan : public QObject
{
    Q_OBJECT
public:
    explicit Paplan(QObject *parent = nullptr);
    QVector<int> x;
    QVector<int> y;

private:
    Mat vmap;
    Mat dispimagine;
    QVector<QVector<int>> map;
    vector<int> m_x;
    vector<int> m_y;
    bool result;

signals:

};

#endif // PAPLAN_H
